<template>
        <div>
          <el-form :model="ruleForm" label-width="140px" class="demo-ruleForm" size="mini">
            <el-row>
              <el-col :span="8">
                <el-form-item label="统一社会信用代码" prop="uscCode">
                  <el-input v-model="ruleForm.uscCode" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="组织机构代码证">
                  <el-input v-model="ruleForm.organCode" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="企业性质" prop="entNature">
                  <el-input v-model="ruleForm.entNature" disabled></el-input>
                </el-form-item>
              </el-col>
            </el-row>
      
            <el-row>
              <el-col :span="8">
                <el-form-item label="注册地址">
                  <el-input v-model="ruleForm.registerAddress" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="注册资本(万元)" prop="registerEdcapital">
                  <el-input v-model="ruleForm.registerEdcapital" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="注册日期">
                  <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.registerDate" style="width: 100%;" disabled></el-date-picker>
                </el-form-item>
              </el-col>
            </el-row>
      
            <el-row>
              <el-col :span="8">
                <el-form-item label="经营期限">
                  <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.businessStart" style="width: 100%;" disabled></el-date-picker>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="至">
                  <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.businessEnd" style="width: 100%;" disabled></el-date-picker>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="经营地址">
                  <el-input v-model="ruleForm.businessAddress" disabled></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="8">
                <el-form-item label="经营地性质">
                  <el-input v-model="ruleForm.businessDto" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="实际资本(万元)" prop="realCapital">
                  <el-input v-model="ruleForm.realCapital" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="年营业收入(万元)" prop="businessTotal">
                  <el-input v-model="ruleForm.businessTotal" disabled></el-input>
                </el-form-item>
              </el-col>
            </el-row>
      
            <el-row>
              <el-col :span="8">
                <el-form-item label="资产总额(万元)" prop="assetsTotal">
                  <el-input v-model="ruleForm.assetsTotal" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="员工人数(人)" prop="employees">
                  <el-input v-model="ruleForm.employees" disabled></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="企业规模" prop="entSize">
                  <el-input v-model="ruleForm.entSize" disabled></el-input>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
      
        </div>
      </template>
      
      <script>
      export default {
       
        data() {
          return {
            ruleForm: {
              uscCode: "",
              organCode: "",
              entNature: "",
              registerAddress: "",
              registerEdcapital: "",
              registerDate: "",
              businessStart: "",
              businessEnd: "",
              businessAddress: "",
              businessDto: "",
              realCapital: "",
              businessTotal: "",
              assetsTotal: "",
              employees: "",
              entSize: ""
            },
          };
        },
        methods: {
          init(entId){
            this.$api.formPost( '/api/biz/entBase/doGetById',{
              id:entId
            }).then(res => {
                  if(res.retHead.code=="0000000"){
                      this.ruleForm = res.retBody;
                  }else{
                      this.$message({
                          type: 'error',
                          message: res.retHead.message
                      });
                  }
              });
          }
        }
      };
      </script>
      <style lang='scss' scoped>
      </style>